/**
 * 
 * @author Marten
 * @author Nirav
 *
 */
public class Ship {
	
	private String type;
	private int cargoCount;		//Amount of cargo space
	private double distance;	//Distance the ship can travel
	private int tank;			//Amount of fuel in the tank
	
	public Ship(String type){
		this.type = type;
		this.cargoCount = 0;
		this.distance = 0;
		this.tank = 0;
	}
	
	public Ship(){
		this("Gnat");
	}
	
//		
	
//	public boolean travel(Planet planet) {
//		
//	}
	
//	public boolean addWeapon(Equipent equipment) {
//		
//	}
	
//	public boolean addGadget(Equipment equipment) {
//		
//	}
	
	/**
	 * Returns the amount of cargo space on this ship
	 * @return cargoCount, the amount of cargo space
	 */
	public int getCargoCount() {
		return cargoCount;
	}
	
	/**
	 * Returns the distance this ship can travel through space
	 * @return a double with the distance this ship can travel
	 */
	public double getDistance() {
		return distance;
	}
	
	/**
	 * Returns the amount of fuel left in the tank
	 * @return an int with the amount of fuel left
	 */
	public int getTank() {
		return tank;
	}
}
